#pragma once
#include "people.h"

class Student :
	public People
{
private:
	int grade;
	int no_project;
	float* score;
public:
	virtual int getType();
	virtual void* Clone();
	Student(char* name, Date birthday,int id, int grade, int no_project, float* score);
	Student(const Student& src);
	virtual void PrintInfo(ostream &out);
	void PrintInfo();
	int getGrade();
	int getNumberOfProject();
	float* getScore();
	void setGrade(int grade);
	void setNumberOfProject(int no_project);
	void setScore(float* score, int n);
	float getAverageScore();
	~Student();
private:
	float averageScore();
};
